<?php
// +-------------------------------------------------------------------
// | 
// +-------------------------------------------------------------------
// | Copyright (c) 2009-2016 All rights reserved.
// +-------------------------------------------------------------------
namespace Admin\Controller;

use Kcdns\Admin\Controller\CommonController;
use Think\Exception;

class ChannelrecordController extends CommonController
{
    public function add()
    {
    try {
	       if (IS_POST) {
	       	$mid = I('post.channelrecord.mid','');
		       	if (!$mid) {
		       	   throw new Exception('操作人必须选择');
		       }
	       }
	       
	       parent::add();
	    } catch (\Exception $e) {
	       $this->error($e->getMessage());
	    }
    }
    

    
    
    
}